<?php

$this->headLink()->prependStylesheet('css/admin.css');
$this->headScript()->prependFile('js/jquery-1.4.2.min.js');

echo($this->doctype());
?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<base href="<?php echo APPLICATION_URL; ?>/" />
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>Admin | PescuitInfo.ro</title>
	<link rel="shortcut icon" type="image/vnd.microsoft.icon" href="<?php echo APPLICATION_URL; ?>/icon.ico"></link>
	<meta http-equiv="content-language" content="ro" />

	<?php //echo($this->headTitle()); ?>
	<?php //echo($this->headMeta()); ?>

	<?php echo($this->headStyle()); ?>
	<?php echo($this->headLink()); ?>
	<?php echo($this->headScript()); ?>

</head>
<body>


<div class="container">
	<div class="head">
		<div class="logo"><a href=""><img src="media/images/admin/logo.gif" alt="" /></a></div>
		<div class="logout">
			<ul class="ul_form_head">
				<li><strong><?php echo $this->translate('Bun venit %1$s', Zend_Registry::get('userInfo')->getName()); ?></strong></li>
				<li><a href="<?php echo $this->url(array('module' => 'user', 'controller' => 'index', 'action' => 'logout')); ?>"><?php echo $this->translate('Logout'); ?></a></li>
			</ul>
		</div>
		<div class="fix"></div>
		<div class="meniu_head">
			<ul class="ul_meniu">
				<li><a href="<?php echo $this->url(array('module' => 'user', 'controller' => 'admin'), '', true); ?>"<?php if (Zend_Controller_Front::getInstance()->getRequest()->getControllerName() == 'admin' && Zend_Controller_Front::getInstance()->getRequest()->getActionName() == 'index' && Zend_Controller_Front::getInstance()->getRequest()->getModuleName() == 'user') { ?> class="select"<?php } ?>><?php echo $this->translate('Acasa'); ?></a></li>
				<li><a href="<?php echo $this->url(array('module' => 'user', 'controller' => 'admin', 'action' => 'resources'), '', true); ?>"><?php echo $this->translate('Resurse'); ?></a></li>
				<li><a href="<?php echo $this->url(array('module' => 'user', 'controller' => 'admin', 'action' => 'roles'), '', true); ?>"><?php echo $this->translate('Roluri'); ?></a></li>
				<li><a href="<?php echo $this->url(array('module' => 'watertype', 'controller' => 'admin', 'action' => 'index'), '', true); ?>"><?php echo $this->translate('Water Type'); ?></a></li>
				<li><a href="<?php echo $this->url(array('module' => 'puddle', 'controller' => 'admin', 'action' => 'index'), '', true); ?>"><?php echo $this->translate('Puddle'); ?></a></li>
			</ul>
			<div class="fix"></div>
		</div>
		<div class="fix"></div>
	</div>
	<div class="fix"></div>

	<?php echo($this->layout()->content); ?>

	<div class="footer shadow">
		<div class="footer_midd">
			<div class="fix_15"></div>
			Copyright &copy;  2012 Admin Siafu
			<div class="fix_15"></div>
		</div>
	</div>
</div>

<script>
	/*QueryLoader.selectorPreload = 'body';
	QueryLoader.init();*/
</script>

</body>
</html>